const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://apis.juhe.cn',
        changeOrigin: true,
        ws:false,
        pathRewrite: {'^/api': ''}
      },

      '/cit': {
        target: 'https://interface.sina.cn',
        changeOrigin: true,
        ws:false,
        pathRewrite: {'^/cit': ''}
      },


    }
  }
})
